package com.starry.designPatterns.creatation.factory.factorymethod;


/**
 * 具体产品
 */
public class VanCar  extends AbstractCar {

   public VanCar(){
       this.engine = "单缸柴油机";
    }
    @Override
    public void run() {
        System.out.println(engine);

    }
}
